//
//  YGArticleListModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/5/3.
//

#import "JSONModel.h"
@protocol YGArticleDetailModel;
NS_ASSUME_NONNULL_BEGIN

@interface YGArticleListModel : JSONModel
@property (nonatomic, assign) NSInteger  totalPage;
@property (nonatomic, strong) NSString  *banner;
@property (nonatomic, assign) BOOL  isSubscribe;
@property (nonatomic, strong) NSArray <YGArticleDetailModel> *article;

@end

@interface YGArticleDetailModel : JSONModel
@property (nonatomic, strong) NSString  *shortContent;
@property (nonatomic, strong) NSString  *theme;
@property (nonatomic, strong) NSString  *fileUrl;
@property (nonatomic, strong) NSString  *id;
@property (nonatomic, assign) NSInteger  createTime;

@end

NS_ASSUME_NONNULL_END
